package com.milo.java8.function;

import lombok.Data;

/**
 * 瓜
 * @author milogenius
 * @date 2020-05-29 13:21
 */
@Data
public class Melon {
    /**品种*/
    private final String type;
    /**重量*/
    private final int weight;
    /**产地*/
    private final String origin;

    public Melon(String type, int weight, String origin) {
        this.type = type;
        this.weight = weight;
        this.origin = origin;
    }
    // getters, toString(), and so on omitted for brevity


}
